/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb;

import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author alexcarpentieri
 */
@Local
public interface GestoreClienteLocal {
    void addCliente(String userName,String password,String nome, String cognome,char sesso, Date dataDiNascita,String codiceBarre);
    Cliente findClienteByUserNameAndPassword(String userName,String password);
    List<Cliente> getAllClients();

    public ejb.Cliente aggiornaCliente(ejb.Cliente cliente);
}
